﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CtrlTopLogin.ascx.cs"
    EnableViewState="false" Inherits="Aij1.UserControls.CtrlTopLogin" %>
<div id="toplogin" onkeydown="return fSearchKeyDown(event)">
    <img src='<%=ResolveClientUrl("~/images/search.png") %>' class="topInput" style="border-left: 0px;
        float: right; margin-right: 0.5em; float: right; background: #fff;" onclick='return topSearch()' />
    <input type="text" class='topInput' maxlength="20" id="txtSearch" value="本站搜索" onblur="onSearchBlur(this)"
        onfocus="onSearchFocus(this)" style="border-right: 0px; width: 100px; color: #ccc;
        height: 16px; float: right;" />
    <%if (C == null)
      { %>
    <div style='margin-right: 2em;'>
        <a href="javascript:loginToQQ()">
            <img src="http://qzonestyle.gtimg.cn/qzone/vas/opensns/res/img/Connect_logo_1.png"
                alt="用QQ账号登录爱+1" />
            [用QQ账号登录]</a> <a href='<%=ResolveClientUrl("~/Special_78.htm") %>' target="_blank">[使用说明]</a></div>
    <%}
      else
      { %>
    <div style='margin-right: 2em;'>
        <img src='<%=C==null? "PicShow_files/bg17.png":C.FigureUrl %>' style="width: 18px;
            height: 18px" />
        <b>
            <%=C==null?"":C.SysName %></b> 已登录 <a href='<%=ResolveClientUrl("~/GetQQInfo.aspx") %>?OP=editinfo'>
                [修改资料]</a> <a href="javascript:logout()">[安全退出]</a></div>
    <%} %>
</div>
